package com.njlime.member.repository.app;

import com.njlime.core.helper.PageBean;
import com.njlime.member.entiies.MemberCollection;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-10-09.
 */
public interface AppMemberCollectionDao extends JpaRepository<MemberCollection, Integer>,JpaSpecificationExecutor<MemberCollection> {
    PageBean getMemberCollectionList(PageBean pb, MemberCollection memberCollection);
    Map<String, Object> get(Integer uid, Integer business_id, Integer business_type);
    int count(Integer business_id, Integer business_type);
}
